<%--
  Created by IntelliJ IDEA.
  User: 72803
  Date: 2024/10/18
  Time: 13:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户信息编辑</title>
    <link rel="stylesheet" href="/static/layui/css/layui.css">
</head>
<body>
  <form class="layui-form" action="/user/updateSave" method="post">
    <input type="hidden" name="id" value="${user.id}">
    <div class="layui-form-item">
      <div class="layui-inline">
        <label class="layui-form-label">用户名</label>
        <div class="layui-input-inline layui-input-wrap">
          <input type="tel" name="name" value="${user.name}" autocomplete="off"  lay-affix="clear" class="layui-input demo-phone">
        </div>
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">密&nbsp;&nbsp;码</label>
      <div class="layui-input-inline layui-input-wrap">
        <input type="text" name="pass" value="${user.pass}" lay-verify="required" autocomplete="off" lay-affix="clear" class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <div class="layui-input-block">
        <button type="submit" class="layui-btn" lay-submit lay-filter="demo1">更新</button>
        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
      </div>
    </div>
  </form>
</body>
</html>
